package com.ck.ips.service.impl.store;

import com.ck.common.model.DepartmentStore;
import com.ck.ips.dao.store.DepartmentStoreMapper;
import com.ck.ips.service.store.DepartmentStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description: 门店部门关系实现类
 *  // update ： 20190530 -->> 最新的需求：部门不与门店做关联
 * @author: zhanglei
 * @date: 2019/5/9 14:59
 */
@Deprecated
@Service(value="departmentStoreService")
public class DepartmentStoreServiceImpl implements DepartmentStoreService {

    @Autowired
    DepartmentStoreMapper departmentStoreMapper;
    @Override
    public void add(DepartmentStore departmentStore) {
        departmentStoreMapper.add(departmentStore);
    }

    @Override
    public void updateDepartmentByStoreId(DepartmentStore departmentStore) {
        departmentStoreMapper.updateDepartmentByStoreId(departmentStore);
    }
}
